package com.xoa.model.workflow;

import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 王禹萌on 2018/7/30.
 * 报表设置类
 */
public class FlowReport /*implements Serializable*/ {
    private Integer rId;//主键ID
    private Integer tId;//用途未知
    private Integer flowId;//流程ID
    private Integer formId;//表单ID
    private String rName;//报表名称
    private String listItem;//报表字段
    private String queryItem;//查询条件字段
    private String createUser;//创建人ID
    private String createDate;//创建时间
    private String groupType;//统计方式(0-按分组统计计算,1-按分组列出详情,)
    private String groupField;//分组字段

    private String userName;//用户名称
    private String flowName;//流程名称

    private Integer flowSort;//父级

    private List<FlowReportResult> flowReportResultList;

    public List<FlowReportResult> getFlowReportResultList() {
        return flowReportResultList;
    }

    public void setFlowReportResultList(List<FlowReportResult> flowReportResultList) {
        this.flowReportResultList = flowReportResultList;
    }

    public Integer getFlowSort() {
        return flowSort;
    }

    public void setFlowSort(Integer flowSort) {
        this.flowSort = flowSort;
    }

    public Integer getrId() {
        return rId;
    }

    public void setrId(Integer rId) {
        this.rId = rId;
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public Integer getFlowId() {
        return flowId;
    }

    public void setFlowId(Integer flowId) {
        this.flowId = flowId;
    }

    public Integer getFormId() {
        return formId;
    }

    public void setFormId(Integer formId) {
        this.formId = formId;
    }

    public String getrName() {
        return rName;
    }

    public void setrName(String rName) {
        this.rName = rName;
    }

    public String getListItem() {
        return listItem;
    }

    public void setListItem(String listItem) {
        this.listItem = listItem;
    }

    public String getQueryItem() {
        return queryItem;
    }

    public void setQueryItem(String queryItem) {
        this.queryItem = queryItem;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getGroupType() {
        return groupType;
    }

    public void setGroupType(String groupType) {
        this.groupType = groupType;
    }

    public String getGroupField() {
        return groupField;
    }

    public void setGroupField(String groupField) {
        this.groupField = groupField;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    @Override
    public String toString() {
        return "FlowReport{" +
                "rId=" + rId +
                ", tId=" + tId +
                ", flowId=" + flowId +
                ", formId=" + formId +
                ", rName='" + rName + '\'' +
                ", listItem='" + listItem + '\'' +
                ", queryItem='" + queryItem + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createDate='" + createDate + '\'' +
                ", groupType='" + groupType + '\'' +
                ", groupField='" + groupField + '\'' +
                ", userName='" + userName + '\'' +
                ", flowName='" + flowName + '\'' +
                '}';
    }
}
